#ifndef MEDIA_BASE_NULLVIDEORENDERER_H_
#define MEDIA_BASE_NULLVIDEORENDERER_H_

#include "media/videorenderer.h"

namespace cricket {

	// Simple implementation for use in tests.
	class NullVideoRenderer : public VideoRenderer {
		virtual bool SetSize(int width, int height, int reserved) {
			return true;
		}
		// Called when a new frame is available for display.
		virtual bool RenderFrame(const VideoFrame *frame) {
			return true;
		}
	};

}  // namespace cricket

#endif  // MEDIA_BASE_NULLVIDEORENDERER_H_
